
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>1.1 xProxy 的优势 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="css/default.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="charles-diff.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    1. xProxy 是什么？
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.1.1" data-path="good.html">
            
                <a href="good.html">
            
                    
                    1.1 xProxy 的优势
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="charles-diff.html">
            
                <a href="charles-diff.html">
            
                    
                    1.2 与 Charles 对比
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="INSTALL.html">
            
                <a href="INSTALL.html">
            
                    
                    2. xProxy 安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    3. 面板说明
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="panel-main.html">
            
                <a href="panel-main.html">
            
                    
                    3.1 首页面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="panel-network.html">
            
                <a href="panel-network.html">
            
                    
                    3.2 Network 网络面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="panel-rule.html">
            
                <a href="panel-rule.html">
            
                    
                    3.3 Rules 规则面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="panel-value.html">
            
                <a href="panel-value.html">
            
                    
                    3.4 Values 值面板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="start.html">
            
                <a href="start.html">
            
                    
                    4. 快速开始
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="frequent.html">
            
                <a href="frequent.html">
            
                    
                    4.1 常用功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="fit-recore.html">
            
                <a href="fit-recore.html">
            
                    
                    4.2 适配 Recore
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="fit-go.html">
            
                <a href="fit-go.html">
            
                    
                    4.3 适配乐高
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    5. 迁移
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="ihost.html">
            
                <a href="ihost.html">
            
                    
                    5.1 iHost 迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="xswitch.html">
            
                <a href="xswitch.html">
            
                    
                    5.2 xSwitch 迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="charles-m.html">
            
                <a href="charles-m.html">
            
                    
                    5.3 Charles 迁移
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    6. 规则
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="rule-model.html">
            
                <a href="rule-model.html">
            
                    
                    6.1 配置方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="rule-pattern.html">
            
                <a href="rule-pattern.html">
            
                    
                    6.2 匹配模式 pattern
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="rule-opv.html">
            
                <a href="rule-opv.html">
            
                    
                    6.3 操作值 opValue
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="rule-opp.html">
            
                <a href="rule-opp.html">
            
                    
                    6.4 匹配原则 opProtocol
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="mobile.html">
            
                <a href="mobile.html">
            
                    
                    7. 移动端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="qa.html">
            
                <a href="qa.html">
            
                    
                    8. 常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="th.html">
            
                <a href="th.html">
            
                    
                    致谢
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" >
            
                <span>
            
                    
                    反馈
            
                </span>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >1.1 xProxy 的优势</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="xproxy-&#x7684;&#x4F18;&#x52BF;">xProxy &#x7684;&#x4F18;&#x52BF;</h1>
<h4 id="&#x529F;&#x80FD;&#x5F3A;&#x5927;">&#x529F;&#x80FD;&#x5F3A;&#x5927;</h4>
<p>&#x4E00;&#x4E2A;&#x8F6F;&#x4EF6;&#x5373;&#x53EF;&#x66FF;&#x4EE3; N &#x4E2A;&#x8F6F;&#x4EF6;&#x3002;</p>
<p><img src="image/y-1.jpg" width="450"></p>
<h4 id="&#x64CD;&#x4F5C;&#x7B80;&#x5355;&#xFF1A;">&#x64CD;&#x4F5C;&#x7B80;&#x5355;&#xFF1A;</h4>
<p>&#x53BB;&#x9664;&#x4EE5;&#x4E0B;&#x7E41;&#x7410;&#x64CD;&#x4F5C;&#xFF0C;&#x65E0;&#x9700;&#x4EFB;&#x4F55;&#x7528;&#x6237;&#x63A5;&#x5165;&#x6210;&#x672C;&#x548C;&#x4F9D;&#x8D56;&#x6210;&#x672C;&#xFF0C;&#x53EA;&#x9700;&#x4E00;&#x952E;&#x5373;&#x53EF;&#x5F00;&#x542F;/&#x5173;&#x95ED;&#x3002;</p>
<p><img src="image/y-2.jpg" width="470"></p>
<h4 id="&#x89C4;&#x5219;&#x7B80;&#x5355;&#xFF1A;">&#x89C4;&#x5219;&#x7B80;&#x5355;&#xFF1A;</h4>
<p>&#x5B9E;&#x73B0; <code>https://a.com/a.json</code> &#x6620;&#x5C04;&#x5230; <code>http://127.0.0.1/a.json</code>&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x5199;&#x4E00;&#x6761;&#x89C4;&#x5219;&#xFF1A;</p>
<pre><code>https://a.com/a.json http://127.0.0.1/a.json
</code></pre><p>&#x5373;&#x53EF;&#x3002;</p>
<p>xProxy &#x91C7;&#x7528;&#x7684;&#x662F;&#x7C7B;&#x4F3C;&#x914D;&#x7F6E;&#x7CFB;&#x7EDF; hosts &#x7684;&#x65B9;&#x5F0F;&#xFF0C;&#x4E00;&#x5207;&#x64CD;&#x4F5C;&#x90FD;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x7B80;&#x5355;&#x914D;&#x7F6E;&#x5B9E;&#x73B0;&#x3002;</p>
<h4 id="&#x652F;&#x6301;&#x534F;&#x8BAE;&#x591A;&#xFF1A;">&#x652F;&#x6301;&#x534F;&#x8BAE;&#x591A;&#xFF1A;</h4>
<p>&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x67E5;&#x770B;&#x548C;&#x4FEE;&#x6539; <code>HTTP&#x3001;HTTP2&#x3001;HTTPS&#x3001;Websocket</code> &#x7684;&#x8BF7;&#x6C42;&#x548C;&#x54CD;&#x5E94;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x8FDB;&#x884C;&#x8BF7;&#x6C42;&#x4EE3;&#x7406;&#xFF0C;&#x5305;&#x62EC;&#x57DF;&#x540D;&#x8F6C;&#x53D1;&#x3001;IP &#x8F6C;&#x53D1;&#x3001;&#x672C;&#x5730;&#x5730;&#x5740;&#x6620;&#x5C04;&#x3001;ES6 &#x53D8;&#x91CF;&#x503C;&#x6620;&#x5C04;&#x3001;JS/CSS/HTML &#x6CE8;&#x5165;/&#x66FF;&#x6362;/&#x4FEE;&#x6539;&#x7B49;&#x7B49;&#x3002;</p>
<h4 id="&#x6620;&#x5C04;&#x6A21;&#x5F0F;&#x591A;&#xFF1A;">&#x6620;&#x5C04;&#x6A21;&#x5F0F;&#x591A;&#xFF1A;</h4>
<p>&#x4E0D;&#x4EC5;&#x652F;&#x6301;&#x4F20;&#x7EDF;&#x7684; <code>http</code>&#x3001;<code>https</code> &#x6620;&#x5C04;&#xFF0C;&#x8FD8;&#x652F;&#x6301;&#x672C;&#x5730; <code>file</code> &#x534F;&#x8BAE;&#x7684;&#x6620;&#x5C04;&#xFF0C;&#x4EE5;&#x53CA;&#x76F4;&#x63A5;&#x5199; <code>ES6&#x53D8;&#x91CF;</code> &#x7684;&#x65B9;&#x5F0F;&#x6620;&#x5C04;&#xFF0C;&#x4E14;&#x53EF;&#x4EE5;&#x5BF9;&#x6620;&#x5C04;&#x7684;&#x8D44;&#x6E90;&#x6216;&#x7AD9;&#x70B9;&#x8FDB;&#x884C; <code>js/css/html</code> &#x6CE8;&#x5165;&#x3001;&#x66FF;&#x6362;&#x548C;&#x4FEE;&#x6539;&#xFF0C;&#x5E76;&#x652F;&#x6301;&#x4EFB;&#x610F;&#x4FEE;&#x6539; <code>Request</code> &#x5934;&#x548C; <code>Response</code> &#x5934;&#x3002;</p>
<h4 id="&#x89C4;&#x5219;&#x5339;&#x914D;&#x6A21;&#x5F0F;&#x591A;&#xFF1A;">&#x89C4;&#x5219;&#x5339;&#x914D;&#x6A21;&#x5F0F;&#x591A;&#xFF1A;</h4>
<p>&#x4E0D;&#x4EC5;&#x652F;&#x6301;&#x4F20;&#x7EDF;&#x7684; <code>&#x57DF;&#x540D;&#x5339;&#x914D;</code>&#x3001;<code>&#x8DEF;&#x5F84;&#x5339;&#x914D;</code>&#xFF0C;&#x8FD8;&#x652F;&#x6301; <code>&#x6B63;&#x5219;&#x5339;&#x914D;</code> <code>&#x7CBE;&#x786E;&#x5339;&#x914D;</code> &#x548C; <code>&#x901A;&#x914D;&#x7B26;&#x5339;&#x914D;</code>&#x3002;</p>
<h4 id="&#x514D;&#x8D39;&#xFF1A;">&#x514D;&#x8D39;&#xFF1A;</h4>
<p>&#x5BF9;&#xFF0C;&#x8FD9;&#x4E2A;&#x8F6F;&#x4EF6;&#x4E0D;&#x82B1;&#x94B1;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 1. xProxy 是什么？">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="charles-diff.html" class="navigation navigation-next " aria-label="Next page: 1.2 与 Charles 对比">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"1.1 xProxy 的优势","level":"1.1.1","depth":2,"next":{"title":"1.2 与 Charles 对比","level":"1.1.2","depth":2,"path":"charles-diff.md","ref":"charles-diff.md","articles":[]},"previous":{"title":"1. xProxy 是什么？","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[{"title":"1.1 xProxy 的优势","level":"1.1.1","depth":2,"path":"good.md","ref":"good.md","articles":[]},{"title":"1.2 与 Charles 对比","level":"1.1.2","depth":2,"path":"charles-diff.md","ref":"charles-diff.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"css/default.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"zh-hans","gitbook":"*"},"file":{"path":"good.md","mtime":"2019-10-24T15:32:26.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-12-17T11:59:46.789Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

